package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.pojo.Job;
import com.example.pojo.TakersJob;

import java.util.List;

public interface JobService extends IService<Job> {
    List<Job> getExamineWorks();

    int rejectOne(String id,Integer userId,String msg);

    int accessOne(String id, Integer userId);

    int updateJobsToReject(List<String> idlist);

    int updateJobsToAccess(List<String> idList);

    List<Job> getCompleteJobs(List<Integer> idList);

    List<Job> getStudentAllJobs(List<TakersJob> idList);

    List<Job> getAccessWorks();

    void updateJobToReceive(Integer jobId);

    Boolean jobInWork(List<TakersJob> takersJobList);
}
